package jgl.vajra.kingkong.part.mine.contract;

import java.util.Map;

import io.reactivex.Observable;
import jgl.vajra.kingkong.bean.LoginInfoBean;
import jgl.vajra.kingkong.databinding.ActivityPersonalInformationBinding;
import jgl.vajra.kingkong.widget.mvvm.model.BaseModel;
import jgl.vajra.kingkong.widget.mvvm.view.BaseMVVMView;
import jgl.vajra.kingkong.widget.mvvm.viewmodel.BaseViewModel;

public class PersonalInformationContract {
    public abstract static class Model extends BaseModel {
        public abstract Observable<LoginInfoBean> getMineData(Map<String, Object> map);
    }

    public interface View extends BaseMVVMView {

        void onHeadPortrait();

        void onName();

        void onNameAuthentication();

        void returnMineData(LoginInfoBean data);
    }

    public abstract static class ViewModel extends BaseViewModel<View, ActivityPersonalInformationBinding, Model> {

        public abstract void getMineData(Map<String, Object> map);
    }
}
